package com.shuiyun.chat.entity.message;

import com.shuiyun.chat.entity.message.Message;
import com.shuiyun.chat.enums.MessageType;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shuiyun
 * @program oicq
 * @description 测试message
 * @create 2021-05-12 14:52
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class TestMessage extends Message {

    private String message;

    public TestMessage(){

    }

    @Override
    public int getMessageType() {
        return MessageType.TEST_MESSAGE.getType();
    }

    public TestMessage(String message){
        this.message = message;
    }
}
